<%@page import="news.entity.Users"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>管理页面</title>
<jsp:include page="include.jsp"></jsp:include>
</head>
<body>
	<div class="container">
		<!-- 顶部 -->
		<div class="row">
			<div class="col-md-11 xpadding xpadding-10">
				<img src="" width="200" height="50">
			</div>
			<div class="col-md-1 xpadding xpadding-10" style="text-align: right">
				<a href="">[ 首页 ]</a><br> <a href="">[ 前台 ]</a><br> <a
					href="">[ 退出 ]</a>
			</div>
		</div>

		<!-- 中部 -->
		<div class="row" style="border-top:1px solid #337AB7">
			<div class="col-md-3 xpadding">
				<!-- 用户信息中心 -->
				<div class="xsidebar">
					<div class="list-group">
						<a class="list-group-item active">用户信息中心</a>
						<a class="list-group-item">登录用户：<%=((Users) session.getAttribute("user")).getName()%></a>
						<a class="list-group-item">登录时间：<small
							style="font-size: 0.8em"><%=session.getAttribute("time")%></small></a>
						<a class="list-group-item">登录IP：<small><%=session.getAttribute("ip")%></small></a>
						<div class="list-group-item">
							<div class="xright">
								<a href="users.do?op=modify">[ 修改密码 ]</a> 
								<a href="users.do?op=logout">[ 注销 ]</a>
							</div>
							<div class="xclear"></div>
						</div>
						<!-- 新闻类型管理 -->
						<div class="list-group-item active">新闻管理中心</div>
						<a href="news.do?op=jump" class="list-group-item">发布新闻</a>
						<a href="#" class="list-group-item">新闻管理</a> 
						<a href="types.do?op=add" class="list-group-item">添加新闻类型</a>
						<a href="#" class="list-group-item">新闻类型管理</a>

						<!-- 后台帮助中心 -->
						<div class="list-group-item active">后台管理中心</div>
						<a href="#" class="list-group-item">关于系统</a>
						<a href="#" class="list-group-item">关于用户</a>
					</div>
				</div>
			</div>
			<div class="col-md-9 xpadding">
				<div class="xsidebar" style="width: 100%; height: 554px;">
					<jsp:include page="${param.include }"></jsp:include>
				</div>
			</div>
		</div>
	</div>

	<br>

</body>
</html>